package com.triones.ljr.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.triones.ljr.entity.dto.OvertEnterpriseDO;
import com.triones.ljr.entity.vo.OvertEnterpriseVO;
import org.apache.ibatis.annotations.Param;

/**
 * 公开 - 企业
 */
public interface OvertEnterpriseMapper extends BaseMapperPlus<OvertEnterpriseMapper, OvertEnterpriseDO, OvertEnterpriseVO> {

    /**
     * 企业-查询列表（分页）
     * @param build
     * @param wrapper
     * @return
     */
    Page<OvertEnterpriseVO> selectPageList(@Param("page") Page<Object> build,@Param(Constants.WRAPPER) QueryWrapper<Object> wrapper);

    /**
     * 获取企业详情
     * @param id
     * @return
     */
    OvertEnterpriseVO getEnterpriseInfo(@Param("id") Long id);
}
